﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Shop.Core.Share
{
    public class GlobalEnum
    {
        /// <summary>
        /// 用户钱包操作类型
        /// </summary>
        public enum UserWalletSourceTypes
        {
            /// <summary>
            /// 用户消费
            /// </summary>
            [Description("用户消费")]
            Pay = 1,
            /// <summary>
            /// 提现
            /// </summary>
            [Description("提现")]
            Tocash = 2,

            /// <summary>
            /// 佣金
            /// </summary>
            [Description("佣金")]
            Distribution = 3,

            /// <summary>
            /// 奖励
            /// </summary>
            [Description("奖励")]
            Prize = 4,

            /// <summary>
            /// 分红
            /// </summary>
            [Description("分红")]
            Dividend = 5,

            /// <summary>
            /// 用户退款
            /// </summary>
            [Description("用户退款")]
            Refund = 9,
        }

        /// <summary>
        /// 
        /// </summary>
        public enum PayMode
        {
            /// <summary>
            /// 余额支付
            /// </summary>
            [Description("余额支付")]
            Balance = 1,

            /// <summary>
            /// 微信支付
            /// </summary>
            [Description("余额支付")]
            WeChatPay = 2,
        }
    }
}
